<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2019/6/25
  Time: 18:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>读者信息注册</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/register.css"/>
    <style>
        .form1{
            margin:0 auto ;
            width:400px;
        }
    </style>
</head>
<body>
<div class="alarm">
    <p style="color: white;text-align: center;font-size: 20px" > ${message }</p>
</div>
<div class="form1">
<form action="/readerRegister" method="post">
    <p style="font-family: 宋体;color: #2e6da4;font-size: 30px;text-align: center" >Register</p>
    <div class="form-group" style="width: 430px;margin-top: 30px;">
        <P> 用户名：</P> <input   type="text" class="form-control"  name="name" required="required">
    </div>
    <div class="form-group" style="width: 430px;margin-top: 30px;">
        <P> 密码：</P> <input  type="password" class="form-control"  name="passwd" required="required">
    </div>
    <div class="form-group" style="width: 430px;">
        <P> 读者类型：</P>
    <select name="type">
        <option value="1">教师</option>
        <option value="2">学生</option>
    </select>
    </div>
    <div class="form-group" style="width: 430px;">
        <P> 读者id：</P> <input type="text" class="form-control"  placeholder="readerId" name="readerId" required="required">
    </div>
    <div class="form-group" style="width: 430px;">
        <P> 年龄：</P> <input type="text" class="form-control"  placeholder="age" name="age">
    </div>
    <div class="form-group" style="width: 430px;">
        <P>性别：</P>
        <label><input name="sex" type="radio" class="form-control"  value="男" />男 </label>
        <label><input name="sex" type="radio" class="form-control"  value="女" />女</label>
    </div>

    <div class="form-group" style="width: 430px;">
        <P>联系方式：</P> <input type="text" class="form-control"  placeholder="your number" name="phone">
    </div>
    <div class="form-group" style="width: 430px;">
        <P>职业或专业：</P> <input type="text" class="form-control"  placeholder="dept" name="dept">
    </div>
    <button style="color: #2e6da4" type="submit" class="btn btn-default">Submit</button>
</form>
</div>
</body>
</html>
